<template>
    <div>
        <el-table :data="tableData" stripe style="width: 100%">
            <el-table-column v-for="item in data" :key="item.id" :prop="item.key" :label="item.label" width="180">
            </el-table-column>
            <!-- <el-table-column prop="username" label="用户名" width="180">
            </el-table-column>
            <el-table-column prop="email" label="邮箱">
            </el-table-column>
            <el-table-column prop="phone" label="电话">
            </el-table-column>
            <el-table-column prop="createTime" label="注册时间">
            </el-table-column> -->
        </el-table>
    </div>
</template>

<script>
export default {
    props: {
        tableData: {
            type: Array,
            default: () => {
                return [];
            },
        },
        data: {
            type: Array,
            default: () => {
                return [];
            },
        },
    },
};
</script>

<style lang="scss" scoped>
</style>